import { get,post } from '../utils/request.js'
// /platform/customer/v1/pageQueryList分页查询患者列表
///platform/customer/v1/pageQueryFollowList分页查询患者随访记录
///platform/customer/v1/pageQueryInterventionList分页查询患者干预记录
///platform/customer/v1/add新增患者
//platform/customer/v1/updateInfo修改患者基本信息
//platform/customer/v1/get查询患者档案
//platform/customer/v1/updateHistory 修改患者健康信息
//platform/customer/v1/updateHabit修改患者生活习惯
//platform/customer/v1/updateFamily修改患者家庭成员
const customerAdd  = (params={}) => {
    return post('/health/platform/customer/v1/add',params);
}
const customerPageQueryList  = (params={}) => {
    return post('/health/platform/customer/v1/pageQueryList',params);
}
const customerPageQueryInterventionList  = (params={}) => {
    return post('/health/platform/customer/v1/pageQueryInterventionList',params);
}
const customerUpdateInfo  = (params={}) => {
    return post('/health/platform/customer/v1/updateInfo',params);
}
const customerPageQueryFollowList  = (params={}) => {
    return post('/health/platform/customer/v1/pageQueryFollowList',params);
}
const customerGet  = (params={}) => {
    return post('/health/platform/customer/v1/get',params);
}
const customerUpdateHistory  = (params={}) => {
    return post('/health/platform/customer/v1/updateHistory',params);
}
const customerUpdateHabit  = (params={}) => {
    return post('/health/platform/customer/v1/updateHabit',params);
}
const customerUpdateFamily  = (params={}) => {
    return post('/health/platform/customer/v1/updateFamily',params);
}

const customerPageQueryTodayFollowList  = (params={}) => {
    return post('/health/platform/customer/v1/pageQueryTodayFollowList',params);
}

const customerPageQueryTodayInterventionList  = (params={}) => {
    return post('/health/platform/customer/v1/pageQueryTodayInterventionList',params);
}

const customerPageReportList  = (params={}) => {
    return post('/health/platform/customer/v1/pageReportList',params);
}

const customerQueryListByName  = (params={}) => {
    return post('/health/platform/customer/v1/queryListByName',params);
}

const customerQueryAgeAndSexStat  = (params={}) => {
    return post('/health/platform/customer/v1/queryAgeAndSexStat',params);
}

// /platform/customer/v1/queryAgeAndSexStat
export { 
    customerAdd,
    customerPageQueryList,
    customerPageQueryInterventionList,
    customerUpdateInfo,
    customerPageQueryFollowList,
    customerGet,
    customerUpdateHistory,
    customerUpdateHabit,
    customerUpdateFamily,
    customerPageQueryTodayFollowList,
    customerPageQueryTodayInterventionList,
    customerPageReportList,
    customerQueryListByName,
    customerQueryAgeAndSexStat,
}